]> dgit.raspbian.org Git - gnome-shell.git/commit
authPrompt: Use placeholder label to avoid layout changes
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 14 Feb 2020 20:10:04 +0000 (21:10 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 14 Feb 2020 20:57:03 +0000 (21:57 +0100)
commit0d766dcf701a7051af502c82bdce82fc05629a15
treeb095a8d8b7aacea36b4c8bd53d12df7c3363a224
parent41da4b06816eb795803161d5d63fba5a934aba6b
authPrompt: Use placeholder label to avoid layout changes

We don't want to show a caps-lock warning when showing a non-password
entry, but we also don't want the layout to jump when changing the
label's visibility.

Achieve that by inserting an empty placeholder label that we can
show whenever the caps-lock warning is hidden.

https://gitlab.gnome.org/GNOME/gnome-shell/issues/2215
js/gdm/authPrompt.js